package com.fanix5.javamvvm.bean;


import java.util.ArrayList;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
public class ListDataUiState<T> {
    //是否请求成功
    private boolean isSuccess;
    //错误消息 isSuccess为false才会有
    private String errMessage ;
    //是否为刷新
    private boolean isRefresh;
    //是否为空
    private boolean isEmpty;
    //是否还有更多
    private boolean hasMore;
    //是第一页且没有数据
    private boolean isFirstEmpty;
    //列表数据
    private T arrayList;

}
